package com.school.admin.service;

import com.school.admin.entity.MallMenuRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.school.admin.entity.vo.MallSysRoleVo;

import java.util.List;

/**
 * <p>
 * 菜单角色中间表 服务类
 * </p>
 *
 * @author sunpx
 * @since 2022-03-24
 */
public interface MallMenuRoleService extends IService<MallMenuRole> {

    /**
     * @return : java.util.List<java.lang.String>
     * @author : sunpx
     * @desc : 查询最终的菜单
     * @date :  18:43:58
     * @params : id
     */
    List<String> getFinallyModule(String id);


    /**
     * 更新插入权限
     * @param commonSave
     * @return
     */
    Boolean saveMenuRoleService(MallSysRoleVo commonSave);
}
